package com.yue.ssa.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("角色菜单映射")
public class RoleMenu {

    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("角色主键")
    private String rid;
    @ApiModelProperty("菜单主键")
    private String mid;
    @ApiModelProperty("操作权限 0可读 1可读可写")
    private boolean op;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public boolean isOp() {
        return op;
    }

    public void setOp(boolean op) {
        this.op = op;
    }
}
